import { request } from ".";
import type { RESPONSE } from "../types/base";
import type { Type } from "../types/type";

export const reqGetAllTypes =()=>
    request.get<null,RESPONSE<Type[]>>('/api/type/all')